/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package reittiopas;

/**
 *
 * @author Jaakko
 */
public class Location {

    private String address;
    private String coordinateX;
    private String coordinateY;
    private String arrivalTime;
    private String departureTime;


    public Location(String address, String coordinateX, String coordinateY, String arrivalTime, String departureTime) {
        this.address = address;
        this.coordinateX = coordinateX;
        this.coordinateY = coordinateY;
        this.arrivalTime = arrivalTime;
        this.departureTime = departureTime;
    }



    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(String arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public String getCoordinateX() {
        return coordinateX;
    }

    public void setCoordinateX(String coordinateX) {
        this.coordinateX = coordinateX;
    }

    public String getCoordinateY() {
        return coordinateY;
    }

    public void setCoordinateY(String coordinateY) {
        this.coordinateY = coordinateY;
    }

    public String getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(String departureTime) {
        this.departureTime = departureTime;
    }
    

}
